package com.pingan.setting.money24url.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.pingan.setting.money24url.dao.StatProjDefineDao;
import com.pingan.setting.money24url.entity.StatProjChannelBean;
import com.pingan.setting.money24url.entity.StatProjDefineBean;
import com.pingan.setting.money24url.entity.StatProjPageBean;

@Component
public class StatProjDefineSettingService {

	@Resource
	private StatProjDefineDao statProjDefineDao;

	public List<StatProjDefineBean> getStatableProjects() {
		return statProjDefineDao.getStatableProjects();
	}

	public List<StatProjPageBean> getPageBeans(int projId) {
		return statProjDefineDao.getPageBeans(projId);
	}

	public List<StatProjChannelBean> getStatChanels(int projId) {
		return statProjDefineDao.getStatChanels(projId);
	}
}
